﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Cms.Web.CmsSystem.MasterPage
{
    public partial class jqGridList : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public string FilePath {
            get {
                string filepath = Request.Path;
                //string fileName = System.IO.Path.GetFileName(Request.PhysicalApplicationPath);
                int last=filepath.LastIndexOf('/');
                if (last > 0)
                {
                    filepath = filepath.Substring(0, last);
                }
                return filepath;
            }
        }

    }
}